<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3">重置支付密码</h1>
</div>
<!-- toaster directive -->
<toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
<div class="wrapper-md" ng-controller="userCtrl">
    <form class="form-horizontal" name="myForm" novalidate>
        <div class="form-group">
            <label class="col-sm-3 control-label text-left">旧支付密码</label>
            <div class="col-sm-4">
                <input type="password" class="form-control rounded" ng-model="userInfo.oldPwd" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label text-left">新支付密码</label>
            <div class="col-sm-4">
                <input type="password" class="form-control rounded" ng-model="userInfo.newPwd" required>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label text-left">确认密码</label>
            <div class="col-sm-4">
                <input type="password" class="form-control rounded" name="confirm_password" ng-model="userInfo.confirm_password" required
                    ui-validate=" '$value==userInfo.newPwd' " ui-validate-watch=" 'userInfo.newPwd' ">
                <span ng-show="myForm.confirm_password.$error.validator" class="" style="color:brown;">密码不一致!</span>
            </div>
        </div>




        <div class="form-group">

            <div class="col-sm-4 col-sm-offset-3">
                <button class="btn m-b-xs w-xs btn-success  btn-rounded" ng-disabled="myForm.$invalid || btn_disabled" ng-click="updatePayPass()">提交</button>
            </div>
        </div>

    </form>
</div>